package com.estate.console.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("estate-service")
public interface ComplaintsFeign {
    @GetMapping("/complaint/findByCommunityId/{communityId}")
    Long findByCommunityId(@PathVariable("communityId") String communityId);
}
